<template>
  <div class="topline">
    <div class="maincontent">
      <div class="loginline">
        <div class="welcome">{{ welcomeMsg }}</div>
        <div class="login-line">
          <a id="login" href="#">登录</a>
          <a id="reg" href="/register.html">免费注册</a>  
        </div>
      </div>
      <div class="logined">
        <span class="welcome">欢迎您，<a href="/user/" class="user"></a>&nbsp;余额：￥<span class="money"></span>元&nbsp;积分： <span class="point"></span>分</span>
        <span class="fr">
          <a rel="nofollow" href="/user/">我的账户</a>
          |
          <a href="/user/deposit">充值</a>
          |
          <a href="/user/withdraw">提款</a>
          |
          [<a class="logout" id="logout" href="#">退出</a>]
        </span>
      </div>
    </div>
  </div>
  <div class="flex-line maincontent">
    <a href="/" class="logo"><img alt="" src="/images/static/logo.jpg"></a> 
  </div>
</template>

<script>
export default {
  name: 'Index',
  data () {
    return {
      welcomeMsg: '您好，欢迎来到海豚彩票'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1, h2 {
  font-weight: normal;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  display: inline-block;
  margin: 0 10px;
}

a {
  color: #42b983;
}
</style>
